package com.iplant.ams.service.po.dms.scada.alarm;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.iplant.base.po.BasePO;
import com.iplant.base.po.enums.DBSchemas;
import com.iplant.base.utils.annotation.condition.DBCondition;
import com.iplant.base.utils.annotation.field.DBField;
import com.iplant.base.utils.annotation.join.DBJoin;
import com.iplant.base.utils.annotation.join.multi.DBJoinMulti;
import com.iplant.base.utils.annotation.join.multi.select.DBJoinMultiSelect;
import com.iplant.base.utils.annotation.po.DBBasePO;
import com.iplant.base.utils.general.CalendarTool;

import java.io.Serializable;
import java.util.Calendar;


public class DMSDeviceAlarm implements Serializable {
    private static final long serialVersionUID = 1L;

    public int ID = 0;
    /**
    /// 设备编码
    */

    public String DeviceNo = "";


    public int DeviceID = 0;

    /**
    ///  设备名称
    */

    public String DeviceName = "";

    /**
    /// 固定资产编码  采集编码
    */

    public String AssetNo = "";
    /**
    /// 设备型号ID
    */
    public int ModelID = 0;
    /**
    /// 设备型号名称
    */
    public String ModelName = "";
    /**
    /// 设备型号ID
    */
    public String ModelNo = "";

    /**
    /// 设备类型编码
    */
    public int DeviceType = 0;

    /**
    /// 设备类型名称
    */
    public String DeviceTypeName = "";
    /**
    /// 设备类型编码
    */
    public String DeviceTypeCode = "";


    public int FactoryID = 0;

    public String FactoryName = "";
    public String FactoryCode = "";

    /**
    /// 车间ID
    */
    public int WorkShopID = 0;

    public String WorkShopName = "";
    public String WorkShopCode = "";
    /**
    /// 产线ID
    */
    public int LineID = 0;

    public String LineName = "";
    public String LineCode = "";

    public int AreaID = 0;

    public String AreaNo = "";

    public String AreaName = "";
    /**
    /// 位置信息
    */
    public String PositionText = "";

    public String ImageIcon = "";
    /**
    /// 报警编码
    */

    public String AlarmCode = "";

    /**
    /// 报警名称
    */

    public String AlarmName = "";

    /**
    /// 报警变量名称
    */
    public String AlarmVariableName = "";
    /**
    /// 报警备注
    */

    public int DataGrad = 0;
    public String AlarmDesc = "";

    public int PositionID = 0;

    public String PositionName = "";

    /**
    /// 报警时刻
    */

    public Calendar StatusTime = CalendarTool.getCalendar(2000, 1, 1);

    /**
    /// 报警结束时刻
    */

    public Calendar StatusTimeEnd = CalendarTool.getCalendar(2000, 1, 1);


    public int EventType = 0;

    @JsonProperty("ID")
    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    @JsonProperty("DeviceNo")
    public String getDeviceNo() {
        return DeviceNo;
    }

    public void setDeviceNo(String deviceNo) {
        DeviceNo = deviceNo;
    }

    @JsonProperty("DeviceID")
    public int getDeviceID() {
        return DeviceID;
    }

    public void setDeviceID(int deviceID) {
        DeviceID = deviceID;
    }

    @JsonProperty("DeviceName")
    public String getDeviceName() {
        return DeviceName;
    }

    public void setDeviceName(String deviceName) {
        DeviceName = deviceName;
    }

    @JsonProperty("AssetNo")
    public String getAssetNo() {
        return AssetNo;
    }

    public void setAssetNo(String assetNo) {
        AssetNo = assetNo;
    }

    @JsonProperty("ModelID")
    public int getModelID() {
        return ModelID;
    }

    public void setModelID(int modelID) {
        ModelID = modelID;
    }

    @JsonProperty("ModelName")
    public String getModelName() {
        return ModelName;
    }

    public void setModelName(String modelName) {
        ModelName = modelName;
    }

    @JsonProperty("ModelNo")
    public String getModelNo() {
        return ModelNo;
    }

    public void setModelNo(String modelNo) {
        ModelNo = modelNo;
    }

    @JsonProperty("DeviceType")
    public int getDeviceType() {
        return DeviceType;
    }

    public void setDeviceType(int deviceType) {
        DeviceType = deviceType;
    }

    @JsonProperty("DeviceTypeName")
    public String getDeviceTypeName() {
        return DeviceTypeName;
    }

    public void setDeviceTypeName(String deviceTypeName) {
        DeviceTypeName = deviceTypeName;
    }

    @JsonProperty("DeviceTypeCode")
    public String getDeviceTypeCode() {
        return DeviceTypeCode;
    }

    public void setDeviceTypeCode(String deviceTypeCode) {
        DeviceTypeCode = deviceTypeCode;
    }

    @JsonProperty("FactoryID")
    public int getFactoryID() {
        return FactoryID;
    }

    public void setFactoryID(int factoryID) {
        FactoryID = factoryID;
    }

    @JsonProperty("FactoryName")
    public String getFactoryName() {
        return FactoryName;
    }

    public void setFactoryName(String factoryName) {
        FactoryName = factoryName;
    }

    @JsonProperty("FactoryCode")
    public String getFactoryCode() {
        return FactoryCode;
    }

    public void setFactoryCode(String factoryCode) {
        FactoryCode = factoryCode;
    }

    @JsonProperty("WorkShopID")
    public int getWorkShopID() {
        return WorkShopID;
    }

    public void setWorkShopID(int workShopID) {
        WorkShopID = workShopID;
    }

    @JsonProperty("WorkShopName")
    public String getWorkShopName() {
        return WorkShopName;
    }

    public void setWorkShopName(String workShopName) {
        WorkShopName = workShopName;
    }

    @JsonProperty("WorkShopCode")
    public String getWorkShopCode() {
        return WorkShopCode;
    }

    public void setWorkShopCode(String workShopCode) {
        WorkShopCode = workShopCode;
    }

    @JsonProperty("LineID")
    public int getLineID() {
        return LineID;
    }

    public void setLineID(int lineID) {
        LineID = lineID;
    }

    @JsonProperty("LineName")
    public String getLineName() {
        return LineName;
    }

    public void setLineName(String lineName) {
        LineName = lineName;
    }

    @JsonProperty("LineCode")
    public String getLineCode() {
        return LineCode;
    }

    public void setLineCode(String lineCode) {
        LineCode = lineCode;
    }

    @JsonProperty("AreaID")
    public int getAreaID() {
        return AreaID;
    }

    public void setAreaID(int areaID) {
        AreaID = areaID;
    }

    @JsonProperty("AreaNo")
    public String getAreaNo() {
        return AreaNo;
    }

    public void setAreaNo(String areaNo) {
        AreaNo = areaNo;
    }
    @JsonProperty("AreaName")
    public String getAreaName() {
        return AreaName;
    }

    public void setAreaName(String areaName) {
        AreaName = areaName;
    }

    @JsonProperty("PositionText")
    public String getPositionText() {
        return PositionText;
    }

    public void setPositionText(String positionText) {
        PositionText = positionText;
    }

    @JsonProperty("ImageIcon")
    public String getImageIcon() {
        return ImageIcon;
    }

    public void setImageIcon(String imageIcon) {
        ImageIcon = imageIcon;
    }

    @JsonProperty("AlarmCode")
    public String getAlarmCode() {
        return AlarmCode;
    }

    public void setAlarmCode(String alarmCode) {
        AlarmCode = alarmCode;
    }

    @JsonProperty("AlarmName")
    public String getAlarmName() {
        return AlarmName;
    }

    public void setAlarmName(String alarmName) {
        AlarmName = alarmName;
    }

    @JsonProperty("AlarmVariableName")
    public String getAlarmVariableName() {
        return AlarmVariableName;
    }

    public void setAlarmVariableName(String alarmVariableName) {
        AlarmVariableName = alarmVariableName;
    }

    @JsonProperty("AlarmDesc")
    public String getAlarmDesc() {
        return AlarmDesc;
    }

    public void setAlarmDesc(String alarmDesc) {
        AlarmDesc = alarmDesc;
    }

    @JsonProperty("PositionID")
    public int getPositionID() {
        return PositionID;
    }

    public void setPositionID(int positionID) {
        PositionID = positionID;
    }

    @JsonProperty("PositionName")
    public String getPositionName() {
        return PositionName;
    }

    public void setPositionName(String positionName) {
        PositionName = positionName;
    }

    @JsonProperty("StatusTime")
    public Calendar getStatusTime() {
        return StatusTime;
    }

    public void setStatusTime(Calendar statusTime) {
        StatusTime = statusTime;
    }

    @JsonProperty("StatusTimeEnd")
    public Calendar getStatusTimeEnd() {
        return StatusTimeEnd;
    }

    public void setStatusTimeEnd(Calendar statusTimeEnd) {
        StatusTimeEnd = statusTimeEnd;
    }

    @JsonProperty("EventType")
    public int getEventType() {
        return EventType;
    }

    public void setEventType(int eventType) {
        EventType = eventType;
    }
    @JsonProperty("DataGrad")
    public int getDataGrad() {
        return DataGrad;
    }

    public void setDataGrad(int dataGrad) {
        DataGrad = dataGrad;
    }
}

 
